package com.xms.sdk.core.query;

import java.io.Serializable;

/**
 * <p>
 * OrderType
 * </p>
 *
 * @author migo
 * @since 2021/9/1
 */
public enum OrderType implements Serializable {
    Ascending(0, "正序"),
    Descending(1, "倒序");

    OrderType(int value, String msg) {
        this.val = value;
        this.msg = msg;
    }

    public int val() {
        return val;
    }

    public String msg() {
        return msg;
    }

    private int val;
    private String msg;
}
